SetLayerUIState(OptionalContentGroup,Nullable<Boolean>) Method
In This Topic
Sets the visibility of an optional content group (layer) in the context of an end-user UI. The is interpreted as follows:
- true: the user explicitly made visible.
- false: the user explicitly made hidden.
- a null reference (Nothing in Visual Basic): the user did not change the visibility of .
Syntax
'Declaration
Public Overloads Sub SetLayerUIState( _
ByVal As OptionalContentGroup, _
ByVal As System.Nullable(Of Boolean) _
)
public void SetLayerUIState(
OptionalContentGroup ,
System.Nullable<bool>
)
Parameters
- layer
- The target layer.
- state
- The desired state of the layer.
See Also